feat: Merge tool implementation#9734
Open
andreastaliad wants to merge 4 commits into
Open
Conversation
👷 Deploy request for label-studio-docs-new-theme pending review.Visit the deploys page to approve it
|
👷 Deploy request for heartex-docs pending review.Visit the deploys page to approve it
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Users often need to merge multiple annotation masks into a single mask. This is especially common when using ML-assisted auto-annotations or interactive tools such as the magic wand, which frequently produce overlapping or fragmented masks. Label Studio currently lacks a native front-end capability to merge multiple masks.
Added feature
The tool allows users to select multiple mask annotations in the labeling interface and merge them into a single mask entirely from the front end. This functionality is currently used in our organization’s annotation workflow and has proven useful when refining ML-generated or magic wand–created masks and combining partially drawn masks. The merge functionality works for all drawn masks and any mask annotations that contain RLE information.
User Stories
As an annotator, I want to merge multiple mask annotations into one so that I
can quickly refine ML-generated or magic wand–created masks.
As a project manager, I want annotators to merge masks directly in the UI so
that segmentation workflows are faster and more consistent.
As an ML engineer, I want merged, cleaner masks so that the quality of training
data is improved.
Usage
To merge two or more masks:
prd issue: #9233